Skip to main content

Arduino Setup

This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino IDE, library, or board add-on, please review the following tutorials.

Installing the SparkFun SFA40 Arduino Library

This library is built using the SparkFun Toolkit so you'll need to make sure that is installed before using this library. Install the SparkFun Toolkit with the Arduino Library manager by searching "SparkFun Toolkit" and installing the latest version. Users who prefer manually installing Arduino Libraries can download it from the GitHub Repository.

Library Setup

The SparkFun SFA40 Arduino Library includes four examples that go through the main features of the SFA40 and demonstrate how to get data from the sensor. Install the library using the Arduino Library Manager tool by searching for "SparkFun SFA40" and install the latest version. If you'd prefer to manually install the library, you can download it from the GitHub Repository or you can download a ZIP of the repository here.